<include file="Public:header" />
<link rel="stylesheet" type="text/css" href="../Public/css/login.css"/>
<script language="JavaScript">
function changeVerify(){
var timenow = new Date().getTime();
 document.getElementById('verifyImg').src='__URL__/verify/'+timenow; 
}
</script>
<div class="content">
<div class="login">
<h3>用户登录</h3>
<form action="{:U('User/login')}" method="POST">
<table cellpadding="0" cellspacing="0" border="0">
<tbody>
<if condition="($erorsta eq 1)">
	<tr>
		<td colspan="4" style="text-align:center; color:red;">{$error}</td>
	</tr>
</if>
<tr>
<td height="50">用户名：</td>
<td colspan="2"><input type="text" name="username" value=""/></td>
<td>&nbsp;</td>
</tr>
<tr>
<td height="50">密码：</td>
<td colspan="2"><input type="password" name="password" value=""/></td>
<td>&nbsp;</td>
</tr>
<tr>
<td>验证码：</td>
<td><input name="verify" type="text" style="_width:115px"/></td>
<td class="verify"><img onClick="changeVerify()" title="点击刷新验证码" src='__URL__/verify' id='verifyImg'/> 
</td>
<td></td>
</tr>
<tr>
<td height="100"></td>
<td><input type="submit" class="log_bt" value="登 录"/></td>
<td><input type="button" class="reg_bt" value="注 册"/></td>
<td></td>
</tr>
</tbody>
</table>
</form>
</div>
</div>
<include file="Public:footer" />